/*
 * @Author: your name
 * @Date: 2021-04-27 09:58:35
 * @LastEditTime: 2021-04-27 14:46:04
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \webpackstudy\src\lib\Complute.js
 */

export default (target) => {
    target.prototype.add=function(a, b){
        return a + b; 
    };
    target.prototype.sub=function(a, b){
        return a - b; 
    };
    target.prototype.mul=function(a, b){
        return a * b; 
    };
    target.prototype.div=function(a, b){
        return a / b; 
    };
};